Skip to content

Conversation

@holub
Copy link
Contributor

@holub holub commented Dec 2, 2025

No description provided.

@holub
Copy link
Contributor Author

holub commented Dec 2, 2025

I believe this fatal stayed enough to catch any commands we suspected MAME is missing. Time to be less destructive for the user.

@galibert galibert merged commit 1b29f05 into mamedev:master Dec 3, 2025
6 checks passed
Comment on lines +855 to +856
// 0x8e: newtype on Sharp X1, unknown purpose
logerror("Z80DMA '%s' Unknown base register %02x\n", tag(), data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logerror is a device_t member function and always includes the tag. You don’t need to duplicate it in the message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will change in one of the following commits

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the other SWs that triggers this btw?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve already got it staged locally. I realise it was just an oversight converting from throwing emu_fatalerror to logerror.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the other SWs that triggers this btw?

The Next's DMA extends this one. Recently we found an example where multiple software write 0xCA and this command is not documented anywhere (not only this one, but few other are crashing same way):
https://github.com/mikedailly/mod_player/blob/0c46930c3c0a2aa4679718452935853fe89c1774/mod_player/utils.asm#L627

db $ca ; unknown

DMA in Spectrum is cursed. Many soft is based on examples from Magazines which either had typo or used rare clone of z80dma chip.

@holub holub deleted the next-dma branch December 3, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants